{yun:}include file="$wapstyle/member/cheader.htm"{/yun}
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.picker.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.poppicker.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<section class="wap_member">
    <div class="wap_member_comp_h1"><span>应聘简历</span></div>

    {yun:}foreach item=v from=$rows{/yun}

    <div class="com_member_hr">
        <div class="com_member_hr_name">
            <a href="{yun:}url m=wap c=resume a=show id=$v.eid{/yun}" class="wap_member_com_name com_member_hr_cblue">
                {yun:}$v.name{/yun} {yun:}if $v.is_browse=='1'{/yun}
                <i class="hr_rusume_new">新</i> {yun:}/if{/yun}
            </a>

            {yun:}if $v.height_status==2{/yun} <span class="hr_gj_box" ><i class="hr_gj"></i> ( 高级人才简历 )</span>{yun:}/if{/yun}
            <a href="{yun:}url m=wap c=resume a=show id=$v.eid{/yun}" class="wap_member_com_lokr">查看简历</a>

            <span class="com_member_hr_date"></span>
        </div>

        <div class="com_member_user_box">
            <div class="com_member_hr_tj">
                <div class="com_member_hr_p1">
                    <span class="member_c9">性别：</span>{yun:}$v.sex{/yun} &nbsp;&nbsp;&nbsp;
                    <span class="member_c9">经验：</span><span class="">{yun:}$v.exp{/yun}</span> &nbsp;&nbsp;&nbsp;
                    <span class="member_c9">学历：</span><span class="">{yun:}$v.edu{/yun}</span>
                </div>
                <div class="com_member_hr_p1">
                    <span class="member_c9">意向职位：</span>
                    <em style="color:#C00">{yun:}$v.jobname{/yun}</em>
                </div>
            </div>

            <div class="com_member_hr_p1">
                <span class="member_c9">申请职位：</span>{yun:}$v.job_name{/yun}
                <!--{yun:}if $v.type==2{/yun}<em style="color:#C00">[高级职位]</em>{yun:}/if{/yun}-->
            </div>

            <div class="com_member_hr_p1">
                <span class="member_c9">申请日期：</span>{yun:}$v.datetime|date_format:"%Y-%m-%d"{/yun}
            </div>

            <div class="com_member_hr_p5">状态：
                {yun:}if $v.is_browse=='1'{/yun}
                <span class="wap_member_post_list_zt">未查看 </span> 
                {yun:}elseif $v.is_browse=='2'{/yun}
                <span class="wap_member_post_list_zt ap_member_post_list_zt_gq">已查看 </span> 
                {yun:}elseif $v.is_browse=='3'{/yun}
                <span class="wap_member_post_list_zt ap_member_post_list_zt_zt">等待通知 </span> 
                {yun:}elseif $v.is_browse=='4'{/yun}
                <span class="wap_member_post_list_zt ap_member_post_list_zt_bf">拒绝面试</span> 
                {yun:}elseif $v.is_browse=='5'{/yun}
                <span class="wap_member_post_list_zt ap_member_post_list_zt_no">无法联系</span> 
                {yun:}/if{/yun}
            </div>
            {yun:}if $v.body!=''{/yun}
            <div class="com_member_hr_p5">已取消申请：<em style="color:#C00">{yun:}$v.body{/yun}</em></div>{yun:}/if{/yun}

            
        </div><div class="yun_member_bth">
        	    
        	    <a class="hrPicker" data-id="{yun:}$v.id{/yun}"><span class="yun_member_sub">设置状态</span></a>
                <a href="javascript:void(0)" onclick="layer_del('确定要删除？','index.php?c=delhr&id={yun:}$v.id{/yun}')" class="yun_member_sub  yun_member_bth1" >删除</a>
                {yun:}if $v.is_browse!=4{/yun} {yun:}if $v.userid_msg!=1{/yun}              
                <a href="javascript:void(0)" onclick="layer_del('', 'index.php?c=hrset&id={yun:}$v.id{/yun}&browse=4')" class="yun_member_sub  yun_member_bth3" >拒绝面试</a>  
                <a href="javascript:void(0);" uid="{yun:}$v.uid{/yun}" username="{yun:}$v.name{/yun}" jobid="{yun:}$v.job_id{/yun}" jobtype="{yun:}$v.type{/yun}" class="yun_member_sub  yun_member_bth2 sq_resume"> 邀请面试</a>
                {yun:}else{/yun} {yun:}if $v.is_browse==5{/yun}
                <span class="job_hr_bth_bj">无法联系</span> {yun:}else{/yun}
                <span class="job_hr_bth_bj">已邀请</span> {yun:}/if{/yun} {yun:}/if{/yun} {yun:}else{/yun}
                <span class="job_hr_job_cz_a">已拒绝</span> {yun:}/if{/yun}
                <input type="hidden" id="uid" value="{yun:}$v.uid{/yun}">
            </div>
    </div>

    {yun:}foreachelse{/yun}

    <div class="wap_member_no">
        暂无申请职位的人才~ 您可以主动邀请人才哦！
        <div>
            <a class="wap_member_no_submit" href="{yun:}url m=wap c=resume{/yun}">去搜索人才</a>
        </div>
    </div>

    {yun:}/foreach{/yun}

</section>
<div class="pages"> {yun:}$pagenav{/yun}</div>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.picker.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.poppicker.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script>
var hrData = [];
hrData.push(
	{
		value: '1',
		text: '未查看'
	},
	{
		value: '2',
		text: '已查看'
	},
	{
		value: '3',
		text: '等待通知'
	},
	{
		value: '4',
		text: '拒绝面试'
	},
	{
		value: '5',
		text: '无法联系'
	}
)
mui.init();
$(".hrPicker").each(function(i,arr){
	var id=arr.dataset.id;
	var hrPicker = new mui.PopPicker();
	hrPicker.setData(hrData);
	arr.addEventListener('tap', function(event) {
		hrPicker.show(function(items) {
			$.post("index.php?c=hrset",{id:id,is_browse:items[0].value},function(data){
				layermsg("设置成功！", 2,function(){location.reload();});
			})
		});
	}, false);
});
</script>
{yun:}include file="$wapstyle/footer.htm"{/yun} 
